package com.hanggold.jfinal.springframework.bean;

import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author <a href="mailto:sunmch@163.com">smc</a>
 * @date 2019-09-29 14:47
 * @since 1.0.0
 **/
@PropertySource(value = "classpath:base.properties")
@Component
public class VolCar implements Car {

    @Override
    public void name(String name) {
        System.out.printf("my car is %s \n", name);
    }

}
